package com.poulpicious.ethanj.game.entities;

import org.newdawn.slick.Color;
import org.newdawn.slick.Graphics;

public class LivingEntity extends Entity {

	protected int xDir;
	protected int yDir;
	
	public LivingEntity(int x, int y, int w, int h) {
		super(x, y, w, h);
	}

	@Override
	public void render(Graphics g) {
		g.setColor(Color.white);
		g.fillRect(xPos, yPos, width, height);
	}

	@Override
	public void update(int delta) {
		xPos += xDir;
		yPos += yDir;
		
		xDir = yDir = 0;
	}

}
